package com.hurl.waguji.web.admin;

import org.testng.annotations.Test;

import com.hurl.waguji.biz.schedule.ScheduleException;
import com.hurl.waguji.biz.schedule.ScheduleService;

public class Admin_TestCase {
//	@Test
	public void test_DownloadLogAction() throws Exception{
		/*DownloadLogAction action = new DownloadLogAction();
		action.setStart(0);
		action.setLimit(40);
		action.execute();*/
		
//		ScheduleAction s = new ScheduleAction();
//		s.query();
		String s = "ZGRJ2008";
		String encoding = "UTF-8";
		System.out.println(java.net.URLDecoder.decode(s,encoding));
	}
	@Test
	public void clearScheduleJobs() throws ScheduleException{
		try{
			ScheduleService.start();
		}catch(Exception e){};
		ScheduleService.unscheduleAllJobs();
	}
}
